{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { mergeToken, genComponentStyleHook } from '../../theme/internal';\nimport { resetComponent } from '../../style';\nvar genQRCodeStyle = function genQRCodeStyle(token) {\n  var _Object$assign, _ref;\n  var componentCls = token.componentCls;\n  return _ref = {}, _defineProperty(_ref, componentCls, Object.assign(Object.assign({}, resetComponent(token)), (_Object$assign = {\n    display: 'flex',\n    justifyContent: 'center',\n    alignItems: 'center',\n    padding: token.paddingSM,\n    backgroundColor: token.colorWhite,\n    borderRadius: token.borderRadiusLG,\n    border: \"\".concat(token.lineWidth, \"px \").concat(token.lineType, \" \").concat(token.colorSplit),\n    position: 'relative',\n    width: '100%',\n    height: '100%',\n    overflow: 'hidden'\n  }, _defineProperty(_Object$assign, \"& > \".concat(componentCls, \"-mask\"), _defineProperty({\n    position: 'absolute',\n    insetBlockStart: 0,\n    insetInlineStart: 0,\n    zIndex: 10,\n    display: 'flex',\n    flexDirection: 'column',\n    justifyContent: 'center',\n    alignItems: 'center',\n    width: '100%',\n    height: '100%',\n    color: token.colorText,\n    lineHeight: token.lineHeight,\n    background: token.QRCodeMaskBackgroundColor,\n    textAlign: 'center'\n  }, \"& > \".concat(componentCls, \"-expired\"), {\n    color: token.QRCodeExpiredTextColor\n  })), _defineProperty(_Object$assign, '&-icon', {\n    marginBlockEnd: token.marginXS,\n    fontSize: token.controlHeight\n  }), _Object$assign))), _defineProperty(_ref, \"\".concat(componentCls, \"-borderless\"), {\n    borderColor: 'transparent'\n  }), _ref;\n};\nexport default genComponentStyleHook('QRCode', function (token) {\n  return genQRCodeStyle(mergeToken(token, {\n    QRCodeExpiredTextColor: 'rgba(0, 0, 0, 0.88)',\n    QRCodeMaskBackgroundColor: 'rgba(255, 255, 255, 0.96)'\n  }));\n});","map":{"version":3,"names":["mergeToken","genComponentStyleHook","resetComponent","genQRCodeStyle","token","componentCls","Object","assign","display","justifyContent","alignItems","padding","paddingSM","backgroundColor","colorWhite","borderRadius","borderRadiusLG","border","lineWidth","lineType","colorSplit","position","width","height","overflow","insetBlockStart","insetInlineStart","zIndex","flexDirection","color","colorText","lineHeight","background","QRCodeMaskBackgroundColor","textAlign","QRCodeExpiredTextColor","marginBlockEnd","marginXS","fontSize","controlHeight","borderColor"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/qrcode/style/index.js"],"sourcesContent":["import { mergeToken, genComponentStyleHook } from '../../theme/internal';\nimport { resetComponent } from '../../style';\nconst genQRCodeStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    [componentCls]: Object.assign(Object.assign({}, resetComponent(token)), {\n      display: 'flex',\n      justifyContent: 'center',\n      alignItems: 'center',\n      padding: token.paddingSM,\n      backgroundColor: token.colorWhite,\n      borderRadius: token.borderRadiusLG,\n      border: `${token.lineWidth}px ${token.lineType} ${token.colorSplit}`,\n      position: 'relative',\n      width: '100%',\n      height: '100%',\n      overflow: 'hidden',\n      [`& > ${componentCls}-mask`]: {\n        position: 'absolute',\n        insetBlockStart: 0,\n        insetInlineStart: 0,\n        zIndex: 10,\n        display: 'flex',\n        flexDirection: 'column',\n        justifyContent: 'center',\n        alignItems: 'center',\n        width: '100%',\n        height: '100%',\n        color: token.colorText,\n        lineHeight: token.lineHeight,\n        background: token.QRCodeMaskBackgroundColor,\n        textAlign: 'center',\n        [`& > ${componentCls}-expired`]: {\n          color: token.QRCodeExpiredTextColor\n        }\n      },\n      '&-icon': {\n        marginBlockEnd: token.marginXS,\n        fontSize: token.controlHeight\n      }\n    }),\n    [`${componentCls}-borderless`]: {\n      borderColor: 'transparent'\n    }\n  };\n};\nexport default genComponentStyleHook('QRCode', token => genQRCodeStyle(mergeToken(token, {\n  QRCodeExpiredTextColor: 'rgba(0, 0, 0, 0.88)',\n  QRCodeMaskBackgroundColor: 'rgba(255, 255, 255, 0.96)'\n})));"],"mappings":";AAAA,SAASA,UAAU,EAAEC,qBAAqB,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